<ion-view title="酒店信息">
    <ion-nav-buttons side="right">
        <button class="button button-clear button-outline" ng-show="active==0 && isPrivateFlag === true" ng-click="checkSubmit()">提交审核</button>
        <button class="button button-clear button-outline" ng-if="EDITE_MODEL" ng-show="active==1" ui-sref="app.hotel-visit-edit"> 添加</button>
        <button class="button button-clear button-outline" ng-if="EDITE_MODEL"  ng-show="active==2"  ui-sref="app.hotel-rank-edit"> 添加</button>
    </ion-nav-buttons>
    <div class="tabs-top tabs-striped tabs-background-crm tabs-color-light">
        <div class="tabs">
            <a class="tab-item content-tab" ng-class="{'active':active == $index}" ng-click="onTabChange($index);" ng-repeat="tab in tabs">{{tab.name}}</a>
        </div>
    </div>
    <div ng-repeat="tab in tabs" ng-show="active == $index" ng-if="tab.loaded" ng-include="tab.templateUrl" class="crm-content"></div>
</ion-view>
<style>
    ion-header-bar {
        box-shadow: none;
    }
    .box img{
        width: 100%;
        height: 200px;
    }
</style>